home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0919.dms / q0919.adf / man / Run < prev    next >
Text File  |  1997-04-10  |  3KB  |  82 lines

  1.  
  2.  
  3.  
  4.      Run (V1.3 in c:) (2.x/3.x internal)
  5.  
  6.  
  7.      NAME
  8.           Run - spawn a background shell or process.
  9.  
  10.      SYNOPSIS
  11.           Run command+command+command+command....
  12.  
  13.      DESCRIPTION
  14.             Run is used to startup a background shell.  Run 
  15.         itself does no parsing of the command line, it passes it 
  16.         unchanged to the background shell process, which means 
  17.         that depending on the shell you have loaded, you can do 
  18.         various interesting things with Run. 
  19.  
  20.             You can pass multiple commands to the background 
  21.         shell by terminating each commandline with a '+' before 
  22.         you hit return.
  23.  
  24.             To detach processes from the parent console window, 
  25.         you can do Run >NIL:. This will allow you to close the 
  26.         CLI window from which that task was launched.  Once RUN a 
  27.         program is totally seperated from the Shell from which it 
  28.         was RUN allowing you to use that Shell for other 
  29.         purposes. If any errors occur, the background program 
  30.         removes itself and disappears.
  31.  
  32.  
  33.             After you RUN a program, the system shell will print 
  34.         the message [CLI n] where n is the task number assigned 
  35.         to the background task. 
  36.  
  37.             The system will always check the resident list before 
  38.         looking in the system path for the command. 
  39.  
  40.  
  41.         EXAMPLES
  42.  
  43.           1. Run Copy Thisfile OverHere+
  44.              Echo "Copy complete!"
  45.  
  46.             The above line will cause the background shell to 
  47.         first run the Copy command, and then the Echo command.
  48.  
  49.  
  50.           2. RUN EXECUTE "RAM:T/ThisFile"
  51.  
  52.             The above line will cause the command sequence file 
  53.         'ThisFile' in the Ram:T/ directory to execute in the 
  54.         background by a single task.
  55.  
  56.  
  57.           3. RUN DIR > PRT: OPT A
  58.  
  59.             This prints a directory and file listing of the 
  60.         current drive on the printer. This will be operated in 
  61.         the background so you will be able to continue entering 
  62.         other commands into the Shell it was run from or to close 
  63.         it.
  64.  
  65.  
  66.           4. RUN >NIL: Calculator
  67.  
  68.             This starts the Calculator program. NIL: is used so 
  69.         you can close the CLI or enter other commands into it 
  70.         while the Calculator is running.
  71.  
  72.  
  73.           5. RUN FORMAT DRIVE DF1: NAME EMPTY +
  74.              INSTALL DF1: +
  75.              ECHO "Format and Install Finished"
  76.  
  77.             This will Format and Install a disk in df1: and then 
  78.         print a message saying "Format and Install Finished". 
  79.  
  80.  
  81.  
  82.